<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>订单详情</title>
<jsp:include page="header.jsp"></jsp:include>
</head>
<style type="text/css">
	.my-bar {
		width: 100%;
		height: 42px;
		margin-top: 20px;
	}
	.my-add {
			display: block;
			border: none;
			width: 100%;
			height: 100%;
			line-height: 42px;
			font-size: 21px;
			color: #ffffff;
			text-align:center;
			background-color: red;
		}
		.weui-cell span img {
			display: block;
			width: 100%;
		}
</style>
<body>
<div class="weui-content">
	<div class="weui-cell">
    	<div class="weui-cell__hd"><label for="" class="weui-label">订单编号:</label></div>
    	<div class="weui-cell__bd">
     	 <span>${order.id}</span>
    	</div>
  	</div>
  	<div class="weui-cell">
    	<div class="weui-cell__hd"><label for="" class="weui-label">产品名称:</label></div>
    	<div class="weui-cell__bd">
     	 <span>${order.goodsName}</span>
    	</div>
  	</div>
  	<div class="weui-cell">
    	<div class="weui-cell__hd"><label for="" class="weui-label">购买数量:</label></div>
    	<div class="weui-cell__bd">
     	 <span>${order.orderSum}</span>
    	</div>
  	</div>
  	<div class="weui-cell">
    	<div class="weui-cell__hd"><label for="" class="weui-label">总价格:</label></div>
    	<div class="weui-cell__bd">
     	 <span style="color: red;">￥${order.orderTotal}</span>
    	</div>
  	</div>
  	<div class="weui-cell">
    	<div class="weui-cell__hd"><label for="" class="weui-label">产品图片:</label></div>
    	<div class="weui-cell__bd">
     	 <span><img src="${order.goodsPic}" /></span>
    	</div>
  	</div>
  	<c:choose>
  		<c:when test="${not empty orderYuliu}">
  			<div class="weui-cell">
	    	<div class="weui-cell__hd"><label for="" class="weui-label">药店名称:</label></div>
	    	<div class="weui-cell__bd">
	     	 <span>${order.houseName}</span>
    	</div>
  	</div>
  		</c:when>
  		<c:otherwise>
  			<div class="weui-cell">
	    	<div class="weui-cell__hd"><label for="" class="weui-label">购买人:</label></div>
	    	<div class="weui-cell__bd">
	     	 <span>${order.weName}</span>
    	</div>
  	</div>
  		</c:otherwise>
  	</c:choose>
</div>
<jsp:include page="foot.jsp"></jsp:include>
</body>
</html>